package com.ml.springboot.service;

import com.ml.springboot.pojo.Employee;
import com.ml.springboot.pojo.query.EmployeeQuery;
import com.ml.springboot.util.PageResult;

import java.util.List;

public interface IEmployeeService {
    /*List<Admin> list();*/
    PageResult list(EmployeeQuery employeeQuery);
    void deletedById(Integer id);

    void deleteAll(Integer[] ids);

    void add(Employee admin);

    Employee selectById(Integer id);

    void update(Employee admin);

    Employee login(String name, String password);

    void updateStatus(Integer id, Integer status);

    List<Employee> selectAll(Long id);

    List<Employee> selectsuoyou();
}
